package com.zxj.system.domain.question.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 题目添加请求DTO
 */
@Data
@Schema(name = "QuestionAddDTO", description = "题目添加请求DTO")
public class QuestionAddDTO {

    /**
     * 题目标题
     */
    @Schema(description = "题目标题")
    private String title;

    /**
     * 题目难度 1:简单 2：中等 3：困难
     */
    @Schema(description = "题目难度 1:简单 2：中等 3：困难")
    private Integer difficulty;

    /**
     * 时间限制
     */
    @Schema(description = "时间限制")
    private Integer timeLimit;

    /**
     * 空间限制
     */
    @Schema(description = "空间限制")
    private Integer spaceLimit;

    /**
     * 题目内容
     */
    @Schema(description = "题目内容")
    private String content;

    /**
     * 题目用例
     */
    @Schema(description = "题目用例")
    private String questionCase;

    /**
     * 默认代码块
     */
    @Schema(description = "默认代码块")
    private String defaultCode;

    /**
     * main函数
     */
    @Schema(description = "main函数")
    private String mainFuc;
}
